<ion-modal-view >
  <ion-header-bar class="checkWork-defectModal-headerbar">
    <h3>缺陷类型</h3>
  </ion-header-bar>
  <ion-header-bar class="checkWork-defectModal-headerbar second">
    <im-pull-right>
            <im-search class="checkWork-search-item" placeholder="缺陷名称" on-search="search(queryStr)"></im-search>
    </im-pull-right>
  </ion-header-bar>
  <ion-content class="checkWork-defectModal-hasheader">

    <form action="" name="selectDefect">
      <div class="group" ng-repeat="(key,valList) in defectList">
        <div class="group-title" >
          {{key}}
        </div>
        <div class="group-body padding clearfix">
          <div class="item item-checkbox" ng-repeat="l in valList">
            <!-- <defect-check value="l.value" name="l.name" pop="popDefect(l)" push="pushDefect(l)"></defect-check> -->
            <input type="checkbox" ng-model="l.check" ng-value="l.name" ng-change="checkChange(l)" class="checkWork-im-checkbox"><span>{{l.name}}</span>
          </div> 
        </div>
      </div></form>
  </ion-content>
</ion-modal-view>


